package com.huike.service.activity;

import com.huike.dto.ActivityDTO;
import com.huike.pojo.Activity;
import com.huike.pojo.Activity_Channel;
import com.huike.pojo.Activity_Status;
import com.huike.pojo.Activity_Vouchers;
import com.huike.result.PageResult;
import com.huike.result.Result;
import com.huike.vo.ActivityVO;

public interface ActivityService {

    //分页查询
    PageResult page(ActivityDTO dto);

    //查询活动渠道
    Result findChannel(Activity_Channel channel);

    //查看代金券
    Result findVouchers(Activity_Vouchers vouchers);

    //查看活动状态
    Result findStatus(Activity_Status status);

    //新增活动
    Result save(Activity activity);

    //删除活动
    void delete(Long id);

    //根据ID查看活动
    ActivityVO findById(Long id);

    void update(Activity activity);
}
